package com.roncoo.course.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.roncoo.course.entity.EduCourse;
import com.roncoo.course.entity.ZoneCourse;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author wdf
 * @since 2021-03-29
 */
public interface ZoneCourseMapper extends BaseMapper<ZoneCourse> {
    IPage<ZoneCourse> findByPid(Page page, @Param("id")Integer id, @Param("course") ZoneCourse zoneCourse);

    List<ZoneCourse> findAll( @Param("course") ZoneCourse zoneCourse);
}
